package router

/*
Date:2021/11/20
Time:10:40 下午
*/

import (
	"github.com/astaxie/beego"
	"server/controllers"
)

func init() {
	beego.Router("/v1/AddNurse", &controllers.UserController{}, "post:AddNurse")        //添加
	beego.Router("/v1/updateNurse", &controllers.UserController{}, "post:UpdateNurse")  //更新
	beego.Router("/v1/getNurses", &controllers.UserController{}, "get:GetNurses")       //获取
	beego.Router("/v1/delNurse/:id:int", &controllers.UserController{}, "get:DelNurse") //删除
}
